#include <pthread.h>

int main(){
    pthread_cond_t cond;
    pthread_mutex_t mutex;
    pthread_cond_init(&cond, NULL);
    pthread_mutex_init(&cond, NULL);
    pthread_cond_wait(&cond, &mutex);
    pthread_cond_timedwait(&cond, &mutex);
    pthread_cond_signal(&cond);
    pthread_cond_broadcast(&cond);

    pthread_cond_destroy(&cond);
}